/**  
* @Title: MtonsLocationVO.java
* @Package cn.net.mtons.weixin.rcv.vo
* @Description: TODO
* @author ma jinjian  
* @date 2016年2月8日 下午4:29:17
* @version V1.0  
*/ 
package cn.net.mtons.weixin.rcv.vo;

import cn.net.mtons.weixin.MtonsBasicVO;
import cn.net.mtons.weixin.utils.MtonsMessageUtil;

/**
 * @ClassName: MtonsLocationVO
 * @Description: TODO
 * @author ma jinjian
 * @date 2016年2月8日 下午4:29:17
 *
 */
public class MtonsLocationVO extends MtonsBasicVO {

	private String msgType;
	
	private String location_X;
	
	private String location_Y;
	
	private String scale;
	
	private String label;
	
	private String msgId;

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getLocation_X() {
		return location_X;
	}

	public void setLocation_X(String location_X) {
		this.location_X = location_X;
	}

	public String getLocation_Y() {
		return location_Y;
	}

	public void setLocation_Y(String location_Y) {
		this.location_Y = location_Y;
	}

	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	@Override
	public String toXml() {
		MtonsMessageUtil util = new MtonsMessageUtil(super.toXml());
		util.addData("MsgType", "location");
		util.addData("Location_X", this.getLocation_X());
		util.addData("Location_Y", this.getLocation_Y());
		util.addData("Scale", this.getScale());
		util.addData("Label", this.getLabel());
		util.addData("MsgId", this.getMsgId());
		util.surroundWith("xml");
		return util.toString();
	}
}
